package com.bigfreakindeals.Models;

import android.util.Log;

public class Branch {
	

	private String companyAddress1;
	private String companyAddress2;
	private String phoneNumber;
	private String zip;
	private String cityname;
	private String statename;
	private String webSite;
	private String longitude;
	private String latitude;
	private String companyState;
	
	public Branch() {
	}


	public String getCompanyAddress1() {
		return companyAddress1;
	}

	public void setCompanyAddress1(String companyAddress1) {
		this.companyAddress1 = companyAddress1;
	}

	
	public String getCompanyAddress2() {
		return companyAddress2;
	}

	public void setCompanyAddress2(String companyAddress2) {
		this.companyAddress2 = companyAddress2;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getCityname() {
		return cityname;
	}

	public void setCityname(String cityname) {
		this.cityname = cityname;
	}

	public String getStatename() {
		return statename;
	}

	public void setStatename(String statename) {
		this.statename = statename;
	}

	public String getWebSite() {
		return webSite;
	}

	public void setWebSite(String webSite) {
		this.webSite = webSite;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	
	
	public String cityStateZip(){
		if (cityname!=null && cityname.length()>0)
			return cityname +", "+statename+" "+(zip!=null ?zip:"");	
		else 
			return statename+" "+(zip!=null ?zip:"");
		
	}
}